package org.glorylight.hacks.social.data;

import java.util.Date;
import java.util.UUID;

public class NotificationData {
	
	private UUID id;
	private String notifyUser;
	private UUID scrapBookId;
	private UUID friendId;
	private Date dateCreated;
	private int isNotified;
	private int type;

	public NotificationData() {
	}
	
	public NotificationData(UUID id, String notifyUser, UUID scrapBookId, UUID friendId, Date dateCreated, int type){
		this.notifyUser = notifyUser;
		this.scrapBookId = scrapBookId;
		this.dateCreated = dateCreated;
		this.friendId = friendId;
		this.isNotified = 0;
		this.type = type;
		this.id = id;
	}
	
	public String getNotifyUser() {
		return notifyUser;
	}

	public void setNotifyUser(String notifyUser) {
		this.notifyUser = notifyUser;
	}

	public Date getDateCreated() {
		return dateCreated;
	}

	public void setDateCreated(Date dateCreated) {
		this.dateCreated = dateCreated;
	}

	public UUID getId() {
		return id;
	}

	public UUID getScrapBookId() {
		return scrapBookId;
	}

	public void setScrapBookId(UUID scrapBookId) {
		this.scrapBookId = scrapBookId;
	}

	public boolean isNotified() {
		return isNotified == 1 ? Boolean.TRUE : Boolean.FALSE;
	}

	public void setIsNotified(int isNotified) {
		this.isNotified = isNotified;
	}
	
	public int getIsNotified() {
		return isNotified;
	}

	public UUID getFriendId() {
		return friendId;
	}

	public void setFriendId(UUID friendId) {
		this.friendId = friendId;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
	
	
}
